package com.ch.demo1;

import java.math.BigDecimal;
import java.util.Scanner;

public class demo3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a = sc.nextLine();
        String b = sc.nextLine();
        BigDecimal bigDecimal = new BigDecimal(a);
        BigDecimal bigDecimal1 = new BigDecimal(b);
        System.out.println("两数相减为 : " + bigDecimal.subtract(bigDecimal1));
        System.out.println("两数相除为 : " + bigDecimal.divide(bigDecimal1,BigDecimal.ROUND_HALF_UP));
    }
}
